package ac.github.os.internal.core.holder

import org.bukkit.event.Cancellable
import org.bukkit.event.Event

interface EventHolder<T : Event> : Holder {

    val event: T

    val allowCancel: Boolean
        get() = event is Cancellable

    fun variable(string: String): String?


}